﻿Imports DTO
Imports DAO
Public Class LoaiDocGiaBUS
    Public Function CapNhatLoaiDocGia(ByVal sql As String) As Integer
        Dim dao As New LoaiDocGiaDAO()
        Return dao.CapNhatLoaiDocGia(sql)
    End Function

    Public Function LayDSLoaiDocGia() As List(Of LoaiDocGiaDTO)
        Dim dao As New LoaiDocGiaDAO()
        Return dao.LayDSLoaiDocGia()
    End Function

    Public Function ThemLoaiDocGia(ByVal str As String) As Integer
        Dim dao As New LoaiDocGiaDAO()
        Return dao.ThemLoaiDocGia(str)
    End Function
End Class
